home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0244 / common.jar / text / common / 02 / 01170103.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  7.2 KB  |  49 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Events</title><meta name="filename" content="text/common/02/01170103"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         span.T1{
  7.                 font-weight:bold;}
  8.         </style></head><body>
  9.    
  10.    
  11.    <help:to-be-embedded Eid="ereignisse" xmlns:help="http://openoffice.org/2000/help">
  12.    <p class="Head1"><help:key-word value="controls; events" tag="kw65940_1"/><help:key-word value="events; controls" tag="kw65940_3"/><help:key-word value="macro; controls" tag="kw65940_2"/><help:link Id="65940">Events</help:link></p>
  13.    <p class="Paragraph">In this tab page, you can link certain events, which can occur in a form's control field, with a macro.</p>
  14.    </help:to-be-embedded>
  15.    <p class="Paragraph">This macro or this event procedure will be then initiated as soon as the event occurs. This assignment will be realized if you press the<span class="T1"> ... </span>button. A <help:link Id="67665" xmlns:help="http://openoffice.org/2000/help">dialog </help:link>will open which enables you to select the macro.</p>
  16.    <help:popup Id="65594" Eid="controleigenschaftenereignisse" xmlns:help="http://openoffice.org/2000/help"><help:embedded Id="65598" Eid="wie"/></help:popup>
  17.    <p class="Paragraph">Depending on the control, different events can take place. Therefore, only the events that make sense for the control and context currently selected are listed on the <span class="T1">Event</span> tab page. The following events are defined:</p>
  18.    <p class="Head2"><help:help-id value="HID_EVT_APPROVEACTIONPERFORMED" xmlns:help="http://openoffice.org/2000/help"/>Before commencing</p>
  19.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event takes place, before an action is triggered by clicking the control.</help:help-text> Clicking a Submit button initiates the "send" action, however, the actual "send" process is started only when the "When initiating" event occurs. With "Before commencing" you can still veto the process. If the linked method sends back FALSE, "When initiating" will not be executed.</p>
  20.    <p class="Head2"><help:help-id value="HID_EVT_ACTIONPERFORMED" xmlns:help="http://openoffice.org/2000/help"/>When initiating</p>
  21.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event occurs when an action is started.</help:help-text> If, for example, you have a Submit button in your form, the send process represents the action.</p>
  22.    <p class="Head2"><help:help-id value="HID_EVT_CHANGED" xmlns:help="http://openoffice.org/2000/help"/>Modified</p>
  23.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.</help:help-text></p>
  24.    <p class="Head2"><help:help-id value="HID_EVT_TEXTCHANGED" xmlns:help="http://openoffice.org/2000/help"/>Text modified</p>
  25.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event takes place if you enter or modify a text in an input field.</help:help-text></p>
  26.    <p class="Head2"><help:help-id value="HID_EVT_ITEMSTATECHANGED" xmlns:help="http://openoffice.org/2000/help"/>Item status changed</p>
  27.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help"> This event takes place if the status of the control field is changed.</help:help-text>This event takes place if you select a new entry in a list or a combo box or with a check box or option field if the condition of the control field changes.</p>
  28.    <p class="Head2"><help:help-id value="HID_EVT_FOCUSGAINED" xmlns:help="http://openoffice.org/2000/help"/>Focus gained</p>
  29.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event takes place if a control field receives the focus.</help:help-text></p>
  30.    <p class="Head2"><help:help-id value="HID_EVT_FOCUSLOST" xmlns:help="http://openoffice.org/2000/help"/>Focus lost</p>
  31.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help"> This event takes place if a control field looses the focus.</help:help-text></p>
  32.    <p class="Head2"><help:help-id value="HID_EVT_KEYTYPED" xmlns:help="http://openoffice.org/2000/help"/>Key typed</p>
  33.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event occurs when the user presses any key while the control has the focus.</help:help-text> This event may, for example, be linked to a macro for checking entries.</p>
  34.    <p class="Head2"><help:help-id value="HID_EVT_KEYUP" xmlns:help="http://openoffice.org/2000/help"/>Key released</p>
  35.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event occurs when the user releases any key while the control has the focus.</help:help-text></p>
  36.    <p class="Head2"><help:help-id value="HID_EVT_MOUSEENTERED" xmlns:help="http://openoffice.org/2000/help"/>Mouse inside</p>
  37.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event takes place if the mouse is inside the control field.</help:help-text></p>
  38.    <p class="Head2"><help:help-id value="HID_EVT_MOUSEDRAGGED" xmlns:help="http://openoffice.org/2000/help"/>Mouse dragged while key pressed</p>
  39.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help"> This event takes place when the mouse is dragged while a key is pressed.</help:help-text> An example of this is when during drag and drop an additional key determines the modus (move or copy).</p>
  40.    <p class="Head2"><help:help-id value="HID_EVT_MOUSEMOVED" xmlns:help="http://openoffice.org/2000/help"/>Mouse movement</p>
  41.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event occurs if the mouse moves over the control.</help:help-text></p>
  42.    <p class="Head2"><help:help-id value="HID_EVT_MOUSEPRESSED" xmlns:help="http://openoffice.org/2000/help"/>Mouse pressed</p>
  43.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event occurs if the mouse button is pressed while the mouse pointer is on the control.</help:help-text></p>
  44.    <p class="Head2"><help:help-id value="HID_EVT_MOUSERELEASED" xmlns:help="http://openoffice.org/2000/help"/>Mouse released</p>
  45.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event occurs if the mouse button is released while the mouse pointer is on the control.</help:help-text></p>
  46.    <p class="Head2"><help:help-id value="HID_EVT_MOUSEEXITED" xmlns:help="http://openoffice.org/2000/help"/>Mouse outside</p>
  47.    <p class="Paragraph"><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">This event takes place, when the mouse is outside the control field.</help:help-text></p>
  48.    <help:embedded Id="65913" Eid="reset_update" xmlns:help="http://openoffice.org/2000/help"/>
  49.   </body></html>